import request from '@/utils/request'

// 查询病情诊断列表
export function listDiagnosed(query) {
  return request({
    url: '/system/Diagnosed/list',
    method: 'get',
    params: query
  })
}

// 查询病情诊断详细
export function getDiagnosed(Id) {
  return request({
    url: '/system/Diagnosed/' + Id,
    method: 'get'
  })
}

// 新增病情诊断
export function addDiagnosed(data) {
  return request({
    url: '/system/Diagnosed',
    method: 'post',
    data: data
  })
}

// 修改病情诊断
export function updateDiagnosed(data) {
  return request({
    url: '/system/Diagnosed',
    method: 'put',
    data: data
  })
}

// 删除病情诊断
export function delDiagnosed(Id) {
  return request({
    url: '/system/Diagnosed/' + Id,
    method: 'delete'
  })
}
